<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Movie_cat</title>
    <!--bootstrap v3的核心样式-->
    <link rel="stylesheet" href="{{ buildStaticUrl('/plugins/bootstrap_v3/css/bootstrap.min.css') }}">
    <link rel="icon" href="/static/favicon.ico">
    {% block css %}{% endblock %}
</head>
<body>
<nav class="navbar navbar-inverse" style="border-radius:0px;">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="glyphicon glyphicon-film navbar-brand" href="{{ buildUrl('/') }}"> CCMS</a>
            <!--CodeCatMovieStore-->
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                {#                <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>#}
                <li><a href="{{ buildUrl('/') }}">影视</a></li>
                {#                <li class="dropdown">#}
                {#                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"#}
                {#                       aria-expanded="false">Dropdown <span class="caret"></span></a>#}
                {#                    <ul class="dropdown-menu">#}
                {#                        <li><a href="#">Action</a></li>#}
                {#                        <li><a href="#">Another action</a></li>#}
                {#                        <li><a href="#">Something else here</a></li>#}
                {#                        <li role="separator" class="divider"></li>#}
                {#                        <li><a href="#">Separated link</a></li>#}
                {#                        <li role="separator" class="divider"></li>#}
                {#                        <li><a href="#">One more separated link</a></li>#}
                {#                    </ul>#}
                {#                </li>#}
            </ul>
            {#            <form class="navbar-form navbar-left">#}
            {#                <div class="form-group">#}
            {#                    <input type="text" class="form-control" placeholder="Search">#}
            {#                </div>#}
            {#                <button type="submit" class="btn btn-default">Submit</button>#}
            {#            </form>#}
            <ul class="nav navbar-nav navbar-right">
                {% if current_user %}
{#                    <li><a href="javascript:void(0)">{{ current_user.nickname }}</a></li>#}
                    <li class="dropdown">
                        <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                           aria-expanded="false">{{ current_user.nickname }} <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="{{ buildUrl('/member/update') }}">修改信息</a></li>
                            <li><a href="{{ buildUrl('/member/logout') }}">退出登录</a></li>
                        </ul>
                    </li>
{#                    <li><a href="{{ buildUrl('/member/logout') }}">退出</a></li>#}
                {% else %}
                    <li><a href="{{ buildUrl('/member/reg') }}">注册</a></li>
                    <li><a href="{{ buildUrl('/member/login') }}">登录</a></li>
                {% endif %}
                {#                                <li><a href="#">Link</a></li>#}
                {#                                <li class="dropdown">#}
                {#                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"#}
                {#                                       aria-expanded="false">Dropdown <span class="caret"></span></a>#}
                {#                                    <ul class="dropdown-menu">#}
                {#                                        <li><a href="#">Action</a></li>#}
                {#                                        <li><a href="#">Another action</a></li>#}
                {#                                        <li><a href="#">Something else here</a></li>#}
                {#                                        <li role="separator" class="divider"></li>#}
                {#                                        <li><a href="#">Separated link</a></li>#}
                {#                                    </ul>#}
                {#                                </li>#}
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>
{#<iframe width=330 height=86 style="z-index:auto" src="//music.163.com/outchain/player?type=3&id=2064225602&auto=1&height=66"></iframe>#}
<div class="container" style="min-height:700px;">
    {% block content %} {% endblock %}
</div>

<footer class="text-center">
    <span class="" style="font-size:17px;font-weight:bold;color:#f06292">codeCat&emsp;为心制作&emsp;lingqinz.i@foxmail.com
    </span>
</footer>


<script src="{{ buildStaticUrl('/plugins/jquery.min.js') }}"></script>
<script src="{{ buildStaticUrl('/plugins/bootstrap_v3/js/bootstrap.min.js') }}"></script>
{#<script href="{{ buildStaticUrl('/js/member/reg.js') }}"></script>#}

{% block js %}

{% endblock %}

</body>
</html>